<!DOCTYPE html>
<html>
<head>
	<title>vue-router</title>
	
</head>
<body>
<div id="app">
	<div>
		<router-link to="/">首页</router-link>
		<router-link to="/about">关于我们</router-link>
		<router-link to="/user/刘亦菲">刘亦菲</router-link>
			<!-- 	刘亦菲?age=18 -->
		<router-link to="/user/铁锤">铁锤</router-link>
		<button @click="surf">漫游</button>
	</div>
	<div>
		<router-view></router-view>
	</div>

</div>
<script src="https://cdn.bootcss.com/vue/2.5.22/vue.js"></script>
	<script src="https://cdn.bootcss.com/vue-router/3.0.2/vue-router.js"></script>
	<script src="js19.js"></script>
</body>
</html>